package com.gaswell.aop.source;

/**
 * @ClassName AllTest
 * @Author xiaow
 * @DATE 2024/4/16 11:14
 **/

class XWTest{
    private final char value[];

    XWTest(char[] value) {
        this.value = value;
    }

    void setChars(int index,char c){
        this.value[index]=c;
    }

    void print(){
        System.out.println(this.value);
    }
}


public class AllTest {
    public static void main(String[] args) {
        char []cs={'a','b','c'};
        XWTest xwTest = new XWTest(cs);

    }

}
